Description: Perform cumulative sum on a matrix or a multidimensional matrix. Syntax: mcumsum(A, n) Note: In the externamatix,multidimensional matrix,cumulative sum